package com.ruoyi.wq.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 砍价群对象 wq_qun
 * 
 * @author ruoyi
 * @date 2022-08-09
 */
public class WqQun extends BaseEntity{
	
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;
    
    private String uid;
    
    private String qunTopicId;

    /** 群标题 */
    @Excel(name = "群标题")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    private String topicDesc;

    /** 群封面 */
    @Excel(name = "群封面")
    private String image;

    /** 群二维码 */
    @Excel(name = "群二维码")
    private String qrcodeImage;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 是否热门（0否 1是） */
    @Excel(name = "是否热门", readConverterExp = "0=否,1=是")
    private Long hot;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long userId;

    /** 创建人头像 */
    @Excel(name = "创建人头像")
    private String avatar;

    /** 创建人昵称 */
    @Excel(name = "创建人昵称")
    private String nickName;
    
    private String sex;
    
    private Integer payNum;
    
    private String sexCheck;
    
    private String payCheck;
    
    private Integer fineNum;
    
    private Integer maxNum;
    
    private Integer payPrice;
    
    private Integer giveNum;
    
    private Date outTime;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getQunTopicId() {
		return qunTopicId;
	}

	public void setQunTopicId(String qunTopicId) {
		this.qunTopicId = qunTopicId;
	}

	public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTopicDesc(String topicDesc) 
    {
        this.topicDesc = topicDesc;
    }

    public String getTopicDesc() 
    {
        return topicDesc;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setQrcodeImage(String qrcodeImage) 
    {
        this.qrcodeImage = qrcodeImage;
    }

    public String getQrcodeImage() 
    {
        return qrcodeImage;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setHot(Long hot) 
    {
        this.hot = hot;
    }

    public Long getHot() 
    {
        return hot;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getPayNum() {
		return payNum;
	}

	public void setPayNum(Integer payNum) {
		this.payNum = payNum;
	}

	public String getSexCheck() {
		return sexCheck;
	}

	public void setSexCheck(String sexCheck) {
		this.sexCheck = sexCheck;
	}

	public String getPayCheck() {
		return payCheck;
	}

	public void setPayCheck(String payCheck) {
		this.payCheck = payCheck;
	}

	public Integer getFineNum() {
		return fineNum;
	}

	public void setFineNum(Integer fineNum) {
		this.fineNum = fineNum;
	}

	public Integer getMaxNum() {
		return maxNum;
	}

	public void setMaxNum(Integer maxNum) {
		this.maxNum = maxNum;
	}

	public Integer getPayPrice() {
		return payPrice;
	}

	public void setPayPrice(Integer payPrice) {
		this.payPrice = payPrice;
	}

	public Integer getGiveNum() {
		return giveNum;
	}

	public void setGiveNum(Integer giveNum) {
		this.giveNum = giveNum;
	}

	public Date getOutTime() {
		return outTime;
	}

	public void setOutTime(Date outTime) {
		this.outTime = outTime;
	}

	public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("topicDesc", getTopicDesc())
            .append("image", getImage())
            .append("qrcodeImage", getQrcodeImage())
            .append("sort", getSort())
            .append("hot", getHot())
            .append("userId", getUserId())
            .append("avatar", getAvatar())
            .append("nickName", getNickName())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
